identifying horizontal shifts of functions